package code.google.model.groove.json.request.header;

import code.google.model.groove.GrooveClient;
import code.google.model.groove.json.util.GrooveCountry;
import code.google.model.groove.util.CryptHelper;
import code.google.model.groove.util.GrooveConstants;

public class ResultsFromSearchRequestHeader{
	private String client = GrooveConstants.CLIENT_HTMLSHARK;
	private String clientRevision = GrooveConstants.CLIENT_REVISION;
	private int privacy = GrooveConstants.PRIVACY;
	private GrooveCountry country = new GrooveCountry();
	private String uuid;
	private String session;
	private String token;
	
	public ResultsFromSearchRequestHeader(GrooveClient client, String method){
		this.uuid = client.getMyUserID();
		this.session = client.getMySessionID();
		this.token = CryptHelper.getToken(client.getMyCommunicationToken(), method);
	}


}
